package com.wectrls.mapper;

import com.wectrls.entity.Category;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CategoryMapper extends JpaRepository<Category, String>, JpaSpecificationExecutor<Category> {


    List<Category> findByWecsUserId(String userId, Sort sort);
}
